#ifndef OBJ_ORAIL_H
#define OBJ_ORAIL_H

#include "obj.h"

#define RAIL_LENGHT 4
#define RAIL_ANGLE M_PI/32
#define RAIL_WIDTH 2

class obj_orail : public obj{
	public:
		obj_orail();
		static int cloaded;
		static GLuint _texture;
		void load (char);
		rail next (char,const rail &);
		void draw_rail (const rail &);
};

#endif
